<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!--360浏览器优先以webkit内核解析-->
	<title>FASTPAY</title>
	<link rel="shortcut icon" href="favicon.ico">
	<link href="../../../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
	<link href="../../../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
	<link href="../../../static/css/main/animate.min.css" th:href="@{/css/main/animate.min.css}" rel="stylesheet"/>
	<link href="../../../static/css/main/style.min862f.css" th:href="@{/css/main/style.min862f.css}" rel="stylesheet"/>
	<link href="../../../static/pay/css/main.css" th:href="@{/pay/css/main.css}" rel="stylesheet"/>
	<style rel="stylesheet">
		.selected-btn{
			background:#73879c;
		}
		.unselected-btn{
			background:white;
		}
	</style>
</head>

<body class="gray-bg" >
<div id="formBox">
	<div class="wrapper">
		<div class="row">

			<div class="col-sm-12">
				<div class="col-sm-3"></div>
				<div class="col-sm-6">
					<div class="base-border" style="margin: 30px 0;">
						<p  th:class="${acceptState == '0'}? 'selected-btn col-sm-5' : 'col-sm-5 unselected-btn'" @click="refresh(1)" style="font-size:16px; color:black; padding: 15px 0px;text-align:center ">
							开启接单
						</p>
						<p class="col-sm-2"></p>
						<p th:class="${acceptState == '1'}? 'selected-btn col-sm-5' : 'col-sm-5 unselected-btn'"  @click="refresh(0)" class="col-sm-5" style="font-size:16px; color:black; padding: 15px 0px;text-align:center ">
							关闭接单
						</p>
					</div>
				</div>

				<div class="col-sm-3"></div>
			</div>



		</div>
	</div>

	<div class="wrapper wrapper-content">
		<div class="row">
			<div class="col-sm-12">
				<div style="width: 100%;">

					<div class="col-sm-12">
						<div class="userbox " style="background-color:#fff; width: 100%;">
							<div class="col-sm-4 comm-border">
								<div style="width: 100%;">
									<div class="ibox-content">
										<p style="font-size:16px; color:#73879c;border-width: 0px;">
											<label data-toggle="collapse">
												账户余额
											</label>
											<label class="pull-right">
												(USDT)
											</label>
										</p>
										<p th:text="${txableBalance}" style="font-size:40px;border-width: 0px;color:#26b99a">
											4764
										</p>
									</div>
								</div>
							</div>
							<div class="col-sm-4 ">
								<div class="comm-border" style="width: 100%;">
									<div class="ibox-content" style="padding-right: 15px;">
										<p style="font-size:16px; color:#73879c;border-width: 0px;">
											<label data-toggle="collapse">
												累计收益
											</label>
											<label class="pull-right">
												(USDT)
											</label>
										</p>
										<p th:text="${getBalance}" style="font-size:40px;border-width: 0px;color:#26b99a">
											354578
										</p>
									</div>
								</div>
							</div>
							<div class="col-sm-4 comm-border">
								<div style="width: 100%;">
									<div class="ibox-content">
										<p style="font-size:16px; color:#73879c;border-width: 0px;">
											<label data-toggle="collapse">
												今日收益
											</label>
											<label class="pull-right">
												(USDT)
											</label>
										</p>
										<p th:text="${thisDayGetUsdt}" style="font-size:40px;border-width: 0px;color:#26b99a">
											346
										</p>
									</div>
								</div>
							</div>
							<div class="col-sm-4 comm-border">
								<div style="width: 100%;">
									<div class="ibox-content">
										<p style="font-size:16px; color:#73879c;border-width: 0px;">
											<label data-toggle="collapse">
												今日出金
											</label>
											<label class="pull-right">
												(USDT)
											</label>
										</p>
										<p th:text="${thisDayOutUsdt}"  style="font-size:40px;border-width: 0px;color:#26b99a">
											236
										</p>
									</div>
								</div>
							</div>
							<div class="col-sm-4 ">
								<div class="comm-border" style="width: 100%;">
									<div class="ibox-content" style="padding-right: 15px;">
										<p style="font-size:16px; color:#73879c;border-width: 0px;">
											<label data-toggle="collapse">
												今日入金
											</label>
											<label class="pull-right">
												(USDT)
											</label>
										</p>
										<p th:text="${thisDayInUsdt}"  style="font-size:40px;border-width: 0px;color:#26b99a">
											188
										</p>
									</div>
								</div>
							</div>



						</div>


					</div>

					<div class="col-sm-12">
						<div class="userbox " style="background-color:#fff; width: 100%;">
							<div class="col-sm-6 comm-border">
								<div style="width: 100%;">
									<div class="ibox-content">
										<p style="font-size:16px; color:#73879c;border-width: 0px;">
											<label data-toggle="collapse">
												火币入金报价
											</label>
											<label class="pull-right">
											</label>
										</p>
										<p th:text="${thisDayHbInPrice}" style="font-size:40px;border-width: 0px;color:#26b99a">
											7.23
										</p>
									</div>
								</div>
							</div>
							<div class="col-sm-6 ">
								<div class="comm-border" style="width: 100%;">
									<div class="ibox-content">
										<p style="font-size:16px; color:#73879c;border-width: 0px;">
											<label data-toggle="collapse">
												火币出金报价
											</label>
											<label class="pull-right">
											</label>
										</p>
										<p th:text="${thisDayHbOutPrice}" style="font-size:40px;border-width: 0px;color:#26b99a">
											8.16
										</p>
									</div>
								</div>
							</div>

						</div>


					</div>

					<div class="col-sm-12">
						<div class="userbox " style="background-color:#fff; width: 100%;">
							<div class="col-sm-6 comm-border">
								<div style="width: 100%;">
									<div class="ibox-content">
										<p style="font-size:16px; color:#73879c;border-width: 0px;">
											<label data-toggle="collapse">
												ABQ入金报价
											</label>
											<label class="pull-right">
											</label>
										</p>
										<p th:text="${thisDayPlantInPrice}" style="font-size:40px;border-width: 0px;color:#26b99a">
											7.23
										</p>
									</div>
								</div>
							</div>
							<div class="col-sm-6 ">
								<div class="comm-border" style="width: 100%;">
									<div class="ibox-content">
										<p style="font-size:16px; color:#73879c;border-width: 0px;">
											<label data-toggle="collapse">
												ABQ出金报价
											</label>
											<label class="pull-right">
											</label>
										</p>
										<p th:text="${thisDayPlantOutPrice}" style="font-size:40px;border-width: 0px;color:#26b99a">
											8.16
										</p>
									</div>
								</div>
							</div>

						</div>


					</div>
				</div>
			</div>

		</div>
	</div>
</div>
<script th:inline="javascript"> var ctx = [[@{/}]]; var captchaType = [[${captchaType}]]; </script>
<script th:src="@{/js/vue.min.js}"></script>
<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/js/ajaxupload.js}"></script>

<script>
    var payAccout= {};
    var vm = new Vue({
        el: '#formBox',
        data: {
            acceptState:'[[${acceptState}]]',
        },
        methods: {
            refresh: function (acceptState) {
                $.ajax({
                    type: "POST",
                    url: ctx + "accept/change_ccept",
                    data: {acceptState:acceptState},
                    dataType: "json",
                    success: function (result) {
                        if (result.code == 0) {//登录成功
                            window.location.href= ctx + 'accept/home';
                        } else {
                            alert(result.msg);
                        }
                    }
                });
            }
        }
    });
</script>
</body>

</html>